<%- include('header') %>

<!-- 内容部分 -->
<div class="container mt-50 pt-50">
  <div class="row">
    <div class="col-xs-4 ">

      <%- include('user-info',{user:authUser}) %>

    </div>
    <div class="col-xs-8">
      <div class="row post-box">
        <form method="post" enctype="multipart/form-data">
          <div class="col-xs-6 col-md-4 post-box_item">
            <h4>标题</h4>
            <input type="text" name="title" class="post-title" value="<%= post.title || ''%>">
          </div>
          <div class=" col-xs-6 col-md-4 post-box_item">
            <h4>配图</h4>
            <%- include('upload') %>
          </div>
          <div class="col-xs-6 col-md-4 post-box_item ">
            <h4>内容</h4>
            <textarea name="content">
              <%= post.content || '' %> 
            </textarea>
          </div>
          <div class="col-xs-6 col-md-4 post-box_item mt-30  mb-50">
            <input class="btn btn-default br-30 sendBtn" type="submit" value="发布">
          </div>
        </form>
      </div>
    </div>
  </div>

</div>

<!-- 内容部分结束 -->

<!-- 底部 -->
<%- include('footer')%>
